package cn.itrip.trade.service;

import cn.itrip.pojo.ItripHotelOrder;

/**
 * Created by LENOVO on 2018/8/28.
 */
public interface PayService {

    ItripHotelOrder getHotelOrder(String orderNo) throws Exception;

    public  void paySuccess(String out_trade_no,Integer payTypes,String trade_no) throws Exception;

    public  void  payFailed(String out_trade_no, Integer payType,String trade_no) throws Exception;

    public boolean processed(String out_trade_no)throws Exception;

    /**
     * 修改訂單狀態
     * @param orderNo
     * @return
     */
    Boolean modifierHotelOrder(String orderNo,Integer status,String transactionId);
}
